<html>
<head>
    <!-- 引入 layui.css -->
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui/css/layui.css" />

    <!-- 引入 layui.js -->
    <script src="https://www.layuicdn.com/layui/layui.js"></script>
</head>
<body>


<ul class="layui-nav" lay-filter="">
    <li class="layui-nav-item"><a th:href="@{/string_list}">String </a></li>
    <li class="layui-nav-item "><a th:href="@{/hash_list}">Hash </a></li>
    <li class="layui-nav-item layui-this"><a href="">大数据</a></li>
    <li class="layui-nav-item">
        <a href="javascript:;">解决方案</a>
        <dl class="layui-nav-child"> <!-- 二级菜单 -->
            <dd><a th:href="@{/string_list}">String </a></dd>
            <dd><a th:href="@{/hash_list}">Hash </a></dd>
            <dd><a href="">电商平台</a></dd>
        </dl>
    </li>
    <li class="layui-nav-item"><a href="">社区</a></li>
</ul>

</body>
<script type="module">
    //注意：导航 依赖 element 模块，否则无法进行功能性操作
    import * as layui from "../static/js/dropzone/dropzone";

    layui.use('element', function(){
        var element = layui.element;

        //…
    });
</script>
</html>